package com.lottery.football.util;

public class StringUtil
{

	/**
	 * Unicode转中文
	 * 
	 * @param ascii
	 * @return
	 */
	public static String ascii2native(String ascii)
	{
		int n = ascii.length() / 6;
		StringBuilder sb = new StringBuilder(n);
		for (int i = 0, j = 2; i < n; i++, j += 6)
		{
			String code = ascii.substring(j, j + 4);
			char ch = (char) Integer.parseInt(code, 16);
			sb.append(ch);
		}
		return sb.toString();
	}
}
